	<table cellpadding="0" cellspacing="0">
	<tr>
			<th><?php echo 'MSSV';?></th>
			<th><?php echo 'Họ Tên';?></th>
			<th><?php echo 'Ngày Đề Nghị';?></th>
			<!--<th><?php //echo 'Ghi Chú';?></th>-->
			<th><?php echo $form->input('checkall', array('id'=>'checkall','label'=>'Duyệt','type'=>'checkbox'));?></th>
	</tr>
	<?php
	$i = 0;
	foreach ($quyetdinhttdoansvs as $sinhvien):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
		$id = $sinhvien['Quyetdinhttdoansv']['id'];
	?>
	<tr<?php echo $class;?>>
	<?php echo $form->input('',array('type'=>'hidden','name'=>'data[Quyetdinhttdoansv][ttdoansv_id]['.$id.']','value'=>$sinhvien['Quyetdinhttdoansv']['ttdoansv_id']))?>
	<?php echo $form->input('',array('type'=>'hidden','name'=>'data[Quyetdinhttdoansv][sinhvien]['.$id.']','value'=>$sinhvien['Quyetdinhttdoansv']['sinhvien_id']))?>
		<td><?php echo $sinhvien['Sinhvien']['mssv']; ?>&nbsp;</td>
		<td><?php echo $sinhvien['Sinhvien']['hoten']; ?>&nbsp;</td>
		<td><?php echo empty($sinhvien['Ttdoansv']['ngayttd'])?'':date('d-m-Y',strtotime($sinhvien['Ttdoansv']['ngayttd'])); ?>&nbsp;</td>
		<!--<td><?php //echo $form->input('',array('type'=>'text','name'=>'data[Quyetdinhttdoansv][ghichu]['.$sinhvien['Quyetdinhttdoansv']['id'].']')) ?>&nbsp;</td>-->
		<td><?php echo $form->checkbox('',array('name'=>'data[Quyetdinhttdoansv][checkbox]['.$id .']','id'=>$i,'class'=>'check','value'=>false)); ?>&nbsp;</td>
	</tr>
<?php endforeach; ?>
	</table>